<template>

</template>

<script>
import store from '@/vuex/store'
import {mapState,mapMutations} from 'vuex'
export default {
    data() {
        return {

        }
    },
    // computed: {
    //     count() {
    //         return this.$store.state.count
    //     }
    // },
    // computed:mapState({
    //     count: state => state.count
    // }),
    computed: mapState(["count","msg","flag"]),
    methods: mapMutations(["add","reduce"]),
    store
}
</script>
